﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Data;
using System.Data.Common;
using Csla;
using Csla.Data;

namespace BO
{

    [Serializable()]
    public partial class SysRole:BusinessBaseEx
    {
        public SysRole()
        {
            this.Clear();
        }
         
        
    #region primary field
       
         private static PropertyInfo<String> RoleNameProperty=RegisterProperty( typeof(SysRole), new PropertyInfo<String>("RoleName",true));
       
        
         public String RoleName
        { 
            get{return GetProperty(RoleNameProperty);}
            set{SetProperty(RoleNameProperty, value); }
        }
       
         private static PropertyInfo<String> RoleDescriptionProperty=RegisterProperty( typeof(SysRole), new PropertyInfo<String>("RoleDescription",false));
       
        
         public String RoleDescription
        { 
            get{return GetProperty(RoleDescriptionProperty);}
            set{SetProperty(RoleDescriptionProperty, value); }
        }
       
         private static PropertyInfo<Boolean> IsInactiveProperty=RegisterProperty( typeof(SysRole), new PropertyInfo<Boolean>("IsInactive",false));
       
        
         public Boolean IsInactive
        { 
            get{return GetProperty(IsInactiveProperty);}
            set{SetProperty(IsInactiveProperty, value); }
        }
    #endregion 
       
        public override string GetTableName()
        {
            return "SysRole";
         }
        
    
    
    }
}